package cn.openea.perpartner.componet.config;

import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

import java.util.concurrent.ConcurrentHashMap;

/**
 * @author Weird077
 * @description TODO
 * @date 2023-04-07 16:15
 */
@Configuration
public class CacheConfig {
    @Bean
    public ConcurrentHashMap<String, Object> mapCache() {
        return new ConcurrentHashMap<>(16);
    }
}
